home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / RAVE SDK 1.5 MacOS / RaveDemo / Steve's utils / utils.h next >
Encoding:
C/C++ Source or Header  |  1997-08-14  |  300 b   |  13 lines  |  [TEXT/CWIE]

  1.  
  2.  
  3. #define TopLeft(rp) ((Point *)(rp))
  4. #define BottomRight(rp) ((Point *)(rp)+1)
  5. #define PortBits(port) (&((GrafPtr)(port))->portBits)
  6.  
  7.  
  8.  
  9. void LocalToGlobalRect(Rect * r);
  10. void WindowGlobalPortRect(WindowPtr w, Rect * globalRect);
  11. GDHandle WindowMaxGDev(WindowPtr w);
  12. float SingleRandom(float limit);
  13.